/*Comments here*/

#include <stdio.h>

int multiply(int a,int b){
	int c;
	while(1){
		c=a*b;
		if(b!=0 && c/b!=a){
			printf("结果数据溢出，请重新输入:");
			scanf("%d,%d",&a,&b);
			continue;
		}
		break;
	}
	return c;
}